\hypertarget{group__gpio}{\subsection{G\-P\-I\-O register access}
\label{group__gpio}\index{G\-P\-I\-O register access@{G\-P\-I\-O register access}}
}
\subsubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{group__gpio_gaf866b136c0a9fd4cca4065ce51eb4495}{bcm2835\-\_\-gpio\-\_\-fsel} (uint8\-\_\-t pin, uint8\-\_\-t mode)
\item 
void \hyperlink{group__gpio_ga2edcdd8eecf3a004ea771669c4e66959}{bcm2835\-\_\-gpio\-\_\-set} (uint8\-\_\-t pin)
\item 
void \hyperlink{group__gpio_gafea3acccb00e21160b510f440a33e5e0}{bcm2835\-\_\-gpio\-\_\-clr} (uint8\-\_\-t pin)
\item 
uint8\-\_\-t \hyperlink{group__gpio_ga693becf47034d3b2d8ed0ac4e74de173}{bcm2835\-\_\-gpio\-\_\-lev} (uint8\-\_\-t pin)
\item 
uint8\-\_\-t \hyperlink{group__gpio_ga41128b1ec95d00329f7f399b56b59c19}{bcm2835\-\_\-gpio\-\_\-eds} (uint8\-\_\-t pin)
\item 
void \hyperlink{group__gpio_gabc7458bd0de6fb2de781c8337c1cffb1}{bcm2835\-\_\-gpio\-\_\-set\-\_\-eds} (uint8\-\_\-t pin)
\item 
void \hyperlink{group__gpio_ga5b70fa96491b9b1d9b3fb21bfefe2fd7}{bcm2835\-\_\-gpio\-\_\-ren} (uint8\-\_\-t pin)
\item 
void \hyperlink{group__gpio_gaa5826edb1b17dd9095fa3bcae5ded485}{bcm2835\-\_\-gpio\-\_\-clr\-\_\-ren} (uint8\-\_\-t pin)
\item 
void \hyperlink{group__gpio_gac9ea2f8c63f0330f12e1b24444d92e50}{bcm2835\-\_\-gpio\-\_\-fen} (uint8\-\_\-t pin)
\item 
void \hyperlink{group__gpio_ga196b61d8bf334be6acec590de6dc8f88}{bcm2835\-\_\-gpio\-\_\-clr\-\_\-fen} (uint8\-\_\-t pin)
\item 
void \hyperlink{group__gpio_ga2cb94aef80b49335057e338d71e46608}{bcm2835\-\_\-gpio\-\_\-hen} (uint8\-\_\-t pin)
\item 
void \hyperlink{group__gpio_ga3c3b5297f5c2aeb5d2046a5b6de15d96}{bcm2835\-\_\-gpio\-\_\-clr\-\_\-hen} (uint8\-\_\-t pin)
\item 
void \hyperlink{group__gpio_ga8e990d48db929445ac3e899ca0f5ed07}{bcm2835\-\_\-gpio\-\_\-len} (uint8\-\_\-t pin)
\item 
void \hyperlink{group__gpio_gac3b51f656f5495dad715ff3c01417aea}{bcm2835\-\_\-gpio\-\_\-clr\-\_\-len} (uint8\-\_\-t pin)
\item 
void \hyperlink{group__gpio_gaa77a0e0d39a6b4423419a16055ce71cc}{bcm2835\-\_\-gpio\-\_\-aren} (uint8\-\_\-t pin)
\item 
void \hyperlink{group__gpio_ga6f3e122871853b34d97b65284cf7cc47}{bcm2835\-\_\-gpio\-\_\-clr\-\_\-aren} (uint8\-\_\-t pin)
\item 
void \hyperlink{group__gpio_ga7e1f1686b60043c00327255e523d98f6}{bcm2835\-\_\-gpio\-\_\-afen} (uint8\-\_\-t pin)
\item 
void \hyperlink{group__gpio_ga8ec8bf224e25ed395d4eecf3ad308ca3}{bcm2835\-\_\-gpio\-\_\-clr\-\_\-afen} (uint8\-\_\-t pin)
\item 
void \hyperlink{group__gpio_ga03b93e27d85686cc295f46d34776c57f}{bcm2835\-\_\-gpio\-\_\-pud} (uint8\-\_\-t pud)
\item 
void \hyperlink{group__gpio_ga260327891497441ac1498f3280c055ed}{bcm2835\-\_\-gpio\-\_\-pudclk} (uint8\-\_\-t pin, uint8\-\_\-t on)
\item 
uint32\-\_\-t \hyperlink{group__gpio_gaba51cd52ba75cbc9b03f3d629ad931a1}{bcm2835\-\_\-gpio\-\_\-pad} (uint8\-\_\-t group)
\item 
void \hyperlink{group__gpio_gac69a029acceb17691826650d8f188cd8}{bcm2835\-\_\-gpio\-\_\-set\-\_\-pad} (uint8\-\_\-t group, uint32\-\_\-t control)
\item 
void \hyperlink{group__gpio_ga3ffbe079732a995cfacd691f677d9789}{bcm2835\-\_\-delay} (unsigned int \hyperlink{wiringPi_8h_a941a22cb7e0f6429fe40f91e83ead3d9}{millis})
\item 
void \hyperlink{group__gpio_gae49c7d58397edb0200d171c8a47b272b}{bcm2835\-\_\-delay\-Microseconds} (unsigned int micros)
\item 
void \hyperlink{group__gpio_ga22f9b05d8edda3ef57cd58728e9c3baa}{bcm2835\-\_\-gpio\-\_\-write} (uint8\-\_\-t pin, uint8\-\_\-t on)
\item 
void \hyperlink{group__gpio_gaa69ba311c1cde834d8a2beb8ab5f745a}{bcm2835\-\_\-gpio\-\_\-set\-\_\-pud} (uint8\-\_\-t pin, uint8\-\_\-t pud)
\end{DoxyCompactItemize}


\subsubsection{Detailed Description}
These functions allow you to control the G\-P\-I\-O interface. You can set the function of each G\-P\-I\-O pin, read the input state and set the output state. 

\subsubsection{Function Documentation}
\hypertarget{group__gpio_ga3ffbe079732a995cfacd691f677d9789}{\index{G\-P\-I\-O register access@{G\-P\-I\-O register access}!bcm2835\-\_\-delay@{bcm2835\-\_\-delay}}
\index{bcm2835\-\_\-delay@{bcm2835\-\_\-delay}!GPIO register access@{G\-P\-I\-O register access}}
\paragraph[{bcm2835\-\_\-delay}]{\setlength{\rightskip}{0pt plus 5cm}void bcm2835\-\_\-delay (
\begin{DoxyParamCaption}
\item[{unsigned int}]{millis}
\end{DoxyParamCaption}
)}}\label{group__gpio_ga3ffbe079732a995cfacd691f677d9789}
Delays for the specified number of milliseconds. Uses nanosleep(), and therefore does not use C\-P\-U until the time is up. 
\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em millis} & Delay in milliseconds \\
\hline
\end{DoxyParams}
\hypertarget{group__gpio_gae49c7d58397edb0200d171c8a47b272b}{\index{G\-P\-I\-O register access@{G\-P\-I\-O register access}!bcm2835\-\_\-delay\-Microseconds@{bcm2835\-\_\-delay\-Microseconds}}
\index{bcm2835\-\_\-delay\-Microseconds@{bcm2835\-\_\-delay\-Microseconds}!GPIO register access@{G\-P\-I\-O register access}}
\paragraph[{bcm2835\-\_\-delay\-Microseconds}]{\setlength{\rightskip}{0pt plus 5cm}void bcm2835\-\_\-delay\-Microseconds (
\begin{DoxyParamCaption}
\item[{unsigned int}]{micros}
\end{DoxyParamCaption}
)}}\label{group__gpio_gae49c7d58397edb0200d171c8a47b272b}
Delays for the specified number of microseconds. Uses nanosleep(), and therefore does not use C\-P\-U until the time is up. However, you are at the mercy of nanosleep(). From the manual for nanosleep\-: If the interval specified in req is not an exact multiple of the granularity underlying clock (see time(7)), then the interval will be rounded up to the next multiple. Furthermore, after the sleep com-\/ pletes, there may still be a delay before the C\-P\-U becomes free to once again execute the calling thread. For times less than about 450 microseconds, uses a busy wait on a high resolution timer. It is reported that a delay of 0 microseconds on Raspberry\-Pi will in fact result in a dleay of about 80 microseconds. Your mileage may vary. 
\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em micros} & Delay in microseconds \\
\hline
\end{DoxyParams}
\hypertarget{group__gpio_ga7e1f1686b60043c00327255e523d98f6}{\index{G\-P\-I\-O register access@{G\-P\-I\-O register access}!bcm2835\-\_\-gpio\-\_\-afen@{bcm2835\-\_\-gpio\-\_\-afen}}
\index{bcm2835\-\_\-gpio\-\_\-afen@{bcm2835\-\_\-gpio\-\_\-afen}!GPIO register access@{G\-P\-I\-O register access}}
\paragraph[{bcm2835\-\_\-gpio\-\_\-afen}]{\setlength{\rightskip}{0pt plus 5cm}void bcm2835\-\_\-gpio\-\_\-afen (
\begin{DoxyParamCaption}
\item[{uint8\-\_\-t}]{pin}
\end{DoxyParamCaption}
)}}\label{group__gpio_ga7e1f1686b60043c00327255e523d98f6}
Enable Asynchronous Falling Edge Detect Enable for the specified pin. When a falling edge is detected, sets the appropriate pin in Event Detect Status. Asynchronous means the incoming signal is not sampled by the system clock. As such falling edges of very short duration can be detected. 
\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em pin} & G\-P\-I\-O number, or one of R\-P\-I\-\_\-\-G\-P\-I\-O\-\_\-\-P1\-\_\-$\ast$ from \hyperlink{group__constants_ga63c029bd6500167152db4e57736d0939}{R\-Pi\-G\-P\-I\-O\-Pin}. \\
\hline
\end{DoxyParams}


Here is the call graph for this function\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{group__gpio_ga7e1f1686b60043c00327255e523d98f6_cgraph}
\end{center}
\end{figure}


\hypertarget{group__gpio_gaa77a0e0d39a6b4423419a16055ce71cc}{\index{G\-P\-I\-O register access@{G\-P\-I\-O register access}!bcm2835\-\_\-gpio\-\_\-aren@{bcm2835\-\_\-gpio\-\_\-aren}}
\index{bcm2835\-\_\-gpio\-\_\-aren@{bcm2835\-\_\-gpio\-\_\-aren}!GPIO register access@{G\-P\-I\-O register access}}
\paragraph[{bcm2835\-\_\-gpio\-\_\-aren}]{\setlength{\rightskip}{0pt plus 5cm}void bcm2835\-\_\-gpio\-\_\-aren (
\begin{DoxyParamCaption}
\item[{uint8\-\_\-t}]{pin}
\end{DoxyParamCaption}
)}}\label{group__gpio_gaa77a0e0d39a6b4423419a16055ce71cc}
Enable Asynchronous Rising Edge Detect Enable for the specified pin. When a rising edge is detected, sets the appropriate pin in Event Detect Status. Asynchronous means the incoming signal is not sampled by the system clock. As such rising edges of very short duration can be detected. 
\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em pin} & G\-P\-I\-O number, or one of R\-P\-I\-\_\-\-G\-P\-I\-O\-\_\-\-P1\-\_\-$\ast$ from \hyperlink{group__constants_ga63c029bd6500167152db4e57736d0939}{R\-Pi\-G\-P\-I\-O\-Pin}. \\
\hline
\end{DoxyParams}


Here is the call graph for this function\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{group__gpio_gaa77a0e0d39a6b4423419a16055ce71cc_cgraph}
\end{center}
\end{figure}


\hypertarget{group__gpio_gafea3acccb00e21160b510f440a33e5e0}{\index{G\-P\-I\-O register access@{G\-P\-I\-O register access}!bcm2835\-\_\-gpio\-\_\-clr@{bcm2835\-\_\-gpio\-\_\-clr}}
\index{bcm2835\-\_\-gpio\-\_\-clr@{bcm2835\-\_\-gpio\-\_\-clr}!GPIO register access@{G\-P\-I\-O register access}}
\paragraph[{bcm2835\-\_\-gpio\-\_\-clr}]{\setlength{\rightskip}{0pt plus 5cm}void bcm2835\-\_\-gpio\-\_\-clr (
\begin{DoxyParamCaption}
\item[{uint8\-\_\-t}]{pin}
\end{DoxyParamCaption}
)}}\label{group__gpio_gafea3acccb00e21160b510f440a33e5e0}
Sets the specified pin output to L\-O\-W. 
\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em pin} & G\-P\-I\-O number, or one of R\-P\-I\-\_\-\-G\-P\-I\-O\-\_\-\-P1\-\_\-$\ast$ from \hyperlink{group__constants_ga63c029bd6500167152db4e57736d0939}{R\-Pi\-G\-P\-I\-O\-Pin}. \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__gpio_ga22f9b05d8edda3ef57cd58728e9c3baa}{bcm2835\-\_\-gpio\-\_\-write()} 
\end{DoxySeeAlso}


Here is the call graph for this function\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=334pt]{group__gpio_gafea3acccb00e21160b510f440a33e5e0_cgraph}
\end{center}
\end{figure}


\hypertarget{group__gpio_ga8ec8bf224e25ed395d4eecf3ad308ca3}{\index{G\-P\-I\-O register access@{G\-P\-I\-O register access}!bcm2835\-\_\-gpio\-\_\-clr\-\_\-afen@{bcm2835\-\_\-gpio\-\_\-clr\-\_\-afen}}
\index{bcm2835\-\_\-gpio\-\_\-clr\-\_\-afen@{bcm2835\-\_\-gpio\-\_\-clr\-\_\-afen}!GPIO register access@{G\-P\-I\-O register access}}
\paragraph[{bcm2835\-\_\-gpio\-\_\-clr\-\_\-afen}]{\setlength{\rightskip}{0pt plus 5cm}void bcm2835\-\_\-gpio\-\_\-clr\-\_\-afen (
\begin{DoxyParamCaption}
\item[{uint8\-\_\-t}]{pin}
\end{DoxyParamCaption}
)}}\label{group__gpio_ga8ec8bf224e25ed395d4eecf3ad308ca3}
Disable Asynchronous Falling Edge Detect Enable for the specified pin. 
\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em pin} & G\-P\-I\-O number, or one of R\-P\-I\-\_\-\-G\-P\-I\-O\-\_\-\-P1\-\_\-$\ast$ from \hyperlink{group__constants_ga63c029bd6500167152db4e57736d0939}{R\-Pi\-G\-P\-I\-O\-Pin}. \\
\hline
\end{DoxyParams}


Here is the call graph for this function\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{group__gpio_ga8ec8bf224e25ed395d4eecf3ad308ca3_cgraph}
\end{center}
\end{figure}


\hypertarget{group__gpio_ga6f3e122871853b34d97b65284cf7cc47}{\index{G\-P\-I\-O register access@{G\-P\-I\-O register access}!bcm2835\-\_\-gpio\-\_\-clr\-\_\-aren@{bcm2835\-\_\-gpio\-\_\-clr\-\_\-aren}}
\index{bcm2835\-\_\-gpio\-\_\-clr\-\_\-aren@{bcm2835\-\_\-gpio\-\_\-clr\-\_\-aren}!GPIO register access@{G\-P\-I\-O register access}}
\paragraph[{bcm2835\-\_\-gpio\-\_\-clr\-\_\-aren}]{\setlength{\rightskip}{0pt plus 5cm}void bcm2835\-\_\-gpio\-\_\-clr\-\_\-aren (
\begin{DoxyParamCaption}
\item[{uint8\-\_\-t}]{pin}
\end{DoxyParamCaption}
)}}\label{group__gpio_ga6f3e122871853b34d97b65284cf7cc47}
Disable Asynchronous Rising Edge Detect Enable for the specified pin. 
\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em pin} & G\-P\-I\-O number, or one of R\-P\-I\-\_\-\-G\-P\-I\-O\-\_\-\-P1\-\_\-$\ast$ from \hyperlink{group__constants_ga63c029bd6500167152db4e57736d0939}{R\-Pi\-G\-P\-I\-O\-Pin}. \\
\hline
\end{DoxyParams}


Here is the call graph for this function\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{group__gpio_ga6f3e122871853b34d97b65284cf7cc47_cgraph}
\end{center}
\end{figure}


\hypertarget{group__gpio_ga196b61d8bf334be6acec590de6dc8f88}{\index{G\-P\-I\-O register access@{G\-P\-I\-O register access}!bcm2835\-\_\-gpio\-\_\-clr\-\_\-fen@{bcm2835\-\_\-gpio\-\_\-clr\-\_\-fen}}
\index{bcm2835\-\_\-gpio\-\_\-clr\-\_\-fen@{bcm2835\-\_\-gpio\-\_\-clr\-\_\-fen}!GPIO register access@{G\-P\-I\-O register access}}
\paragraph[{bcm2835\-\_\-gpio\-\_\-clr\-\_\-fen}]{\setlength{\rightskip}{0pt plus 5cm}void bcm2835\-\_\-gpio\-\_\-clr\-\_\-fen (
\begin{DoxyParamCaption}
\item[{uint8\-\_\-t}]{pin}
\end{DoxyParamCaption}
)}}\label{group__gpio_ga196b61d8bf334be6acec590de6dc8f88}
Disable Falling Edge Detect Enable for the specified pin. 
\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em pin} & G\-P\-I\-O number, or one of R\-P\-I\-\_\-\-G\-P\-I\-O\-\_\-\-P1\-\_\-$\ast$ from \hyperlink{group__constants_ga63c029bd6500167152db4e57736d0939}{R\-Pi\-G\-P\-I\-O\-Pin}. \\
\hline
\end{DoxyParams}


Here is the call graph for this function\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{group__gpio_ga196b61d8bf334be6acec590de6dc8f88_cgraph}
\end{center}
\end{figure}


\hypertarget{group__gpio_ga3c3b5297f5c2aeb5d2046a5b6de15d96}{\index{G\-P\-I\-O register access@{G\-P\-I\-O register access}!bcm2835\-\_\-gpio\-\_\-clr\-\_\-hen@{bcm2835\-\_\-gpio\-\_\-clr\-\_\-hen}}
\index{bcm2835\-\_\-gpio\-\_\-clr\-\_\-hen@{bcm2835\-\_\-gpio\-\_\-clr\-\_\-hen}!GPIO register access@{G\-P\-I\-O register access}}
\paragraph[{bcm2835\-\_\-gpio\-\_\-clr\-\_\-hen}]{\setlength{\rightskip}{0pt plus 5cm}void bcm2835\-\_\-gpio\-\_\-clr\-\_\-hen (
\begin{DoxyParamCaption}
\item[{uint8\-\_\-t}]{pin}
\end{DoxyParamCaption}
)}}\label{group__gpio_ga3c3b5297f5c2aeb5d2046a5b6de15d96}
Disable High Detect Enable for the specified pin. 
\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em pin} & G\-P\-I\-O number, or one of R\-P\-I\-\_\-\-G\-P\-I\-O\-\_\-\-P1\-\_\-$\ast$ from \hyperlink{group__constants_ga63c029bd6500167152db4e57736d0939}{R\-Pi\-G\-P\-I\-O\-Pin}. \\
\hline
\end{DoxyParams}


Here is the call graph for this function\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{group__gpio_ga3c3b5297f5c2aeb5d2046a5b6de15d96_cgraph}
\end{center}
\end{figure}


\hypertarget{group__gpio_gac3b51f656f5495dad715ff3c01417aea}{\index{G\-P\-I\-O register access@{G\-P\-I\-O register access}!bcm2835\-\_\-gpio\-\_\-clr\-\_\-len@{bcm2835\-\_\-gpio\-\_\-clr\-\_\-len}}
\index{bcm2835\-\_\-gpio\-\_\-clr\-\_\-len@{bcm2835\-\_\-gpio\-\_\-clr\-\_\-len}!GPIO register access@{G\-P\-I\-O register access}}
\paragraph[{bcm2835\-\_\-gpio\-\_\-clr\-\_\-len}]{\setlength{\rightskip}{0pt plus 5cm}void bcm2835\-\_\-gpio\-\_\-clr\-\_\-len (
\begin{DoxyParamCaption}
\item[{uint8\-\_\-t}]{pin}
\end{DoxyParamCaption}
)}}\label{group__gpio_gac3b51f656f5495dad715ff3c01417aea}
Disable Low Detect Enable for the specified pin. 
\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em pin} & G\-P\-I\-O number, or one of R\-P\-I\-\_\-\-G\-P\-I\-O\-\_\-\-P1\-\_\-$\ast$ from \hyperlink{group__constants_ga63c029bd6500167152db4e57736d0939}{R\-Pi\-G\-P\-I\-O\-Pin}. \\
\hline
\end{DoxyParams}


Here is the call graph for this function\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{group__gpio_gac3b51f656f5495dad715ff3c01417aea_cgraph}
\end{center}
\end{figure}


\hypertarget{group__gpio_gaa5826edb1b17dd9095fa3bcae5ded485}{\index{G\-P\-I\-O register access@{G\-P\-I\-O register access}!bcm2835\-\_\-gpio\-\_\-clr\-\_\-ren@{bcm2835\-\_\-gpio\-\_\-clr\-\_\-ren}}
\index{bcm2835\-\_\-gpio\-\_\-clr\-\_\-ren@{bcm2835\-\_\-gpio\-\_\-clr\-\_\-ren}!GPIO register access@{G\-P\-I\-O register access}}
\paragraph[{bcm2835\-\_\-gpio\-\_\-clr\-\_\-ren}]{\setlength{\rightskip}{0pt plus 5cm}void bcm2835\-\_\-gpio\-\_\-clr\-\_\-ren (
\begin{DoxyParamCaption}
\item[{uint8\-\_\-t}]{pin}
\end{DoxyParamCaption}
)}}\label{group__gpio_gaa5826edb1b17dd9095fa3bcae5ded485}
Disable Rising Edge Detect Enable for the specified pin. 
\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em pin} & G\-P\-I\-O number, or one of R\-P\-I\-\_\-\-G\-P\-I\-O\-\_\-\-P1\-\_\-$\ast$ from \hyperlink{group__constants_ga63c029bd6500167152db4e57736d0939}{R\-Pi\-G\-P\-I\-O\-Pin}. \\
\hline
\end{DoxyParams}


Here is the call graph for this function\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{group__gpio_gaa5826edb1b17dd9095fa3bcae5ded485_cgraph}
\end{center}
\end{figure}


\hypertarget{group__gpio_ga41128b1ec95d00329f7f399b56b59c19}{\index{G\-P\-I\-O register access@{G\-P\-I\-O register access}!bcm2835\-\_\-gpio\-\_\-eds@{bcm2835\-\_\-gpio\-\_\-eds}}
\index{bcm2835\-\_\-gpio\-\_\-eds@{bcm2835\-\_\-gpio\-\_\-eds}!GPIO register access@{G\-P\-I\-O register access}}
\paragraph[{bcm2835\-\_\-gpio\-\_\-eds}]{\setlength{\rightskip}{0pt plus 5cm}uint8\-\_\-t bcm2835\-\_\-gpio\-\_\-eds (
\begin{DoxyParamCaption}
\item[{uint8\-\_\-t}]{pin}
\end{DoxyParamCaption}
)}}\label{group__gpio_ga41128b1ec95d00329f7f399b56b59c19}
Event Detect Status. Tests whether the specified pin has detected a level or edge as requested by \hyperlink{group__gpio_ga5b70fa96491b9b1d9b3fb21bfefe2fd7}{bcm2835\-\_\-gpio\-\_\-ren()}, \hyperlink{group__gpio_gac9ea2f8c63f0330f12e1b24444d92e50}{bcm2835\-\_\-gpio\-\_\-fen()}, \hyperlink{group__gpio_ga2cb94aef80b49335057e338d71e46608}{bcm2835\-\_\-gpio\-\_\-hen()}, \hyperlink{group__gpio_ga8e990d48db929445ac3e899ca0f5ed07}{bcm2835\-\_\-gpio\-\_\-len()}, \hyperlink{group__gpio_gaa77a0e0d39a6b4423419a16055ce71cc}{bcm2835\-\_\-gpio\-\_\-aren()}, \hyperlink{group__gpio_ga7e1f1686b60043c00327255e523d98f6}{bcm2835\-\_\-gpio\-\_\-afen()}. Clear the flag for a given pin by calling bcm2835\-\_\-gpio\-\_\-set\-\_\-eds(pin); 
\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em pin} & G\-P\-I\-O number, or one of R\-P\-I\-\_\-\-G\-P\-I\-O\-\_\-\-P1\-\_\-$\ast$ from \hyperlink{group__constants_ga63c029bd6500167152db4e57736d0939}{R\-Pi\-G\-P\-I\-O\-Pin}. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
H\-I\-G\-H if the event detect status for th given pin is true. 
\end{DoxyReturn}


Here is the call graph for this function\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=338pt]{group__gpio_ga41128b1ec95d00329f7f399b56b59c19_cgraph}
\end{center}
\end{figure}


\hypertarget{group__gpio_gac9ea2f8c63f0330f12e1b24444d92e50}{\index{G\-P\-I\-O register access@{G\-P\-I\-O register access}!bcm2835\-\_\-gpio\-\_\-fen@{bcm2835\-\_\-gpio\-\_\-fen}}
\index{bcm2835\-\_\-gpio\-\_\-fen@{bcm2835\-\_\-gpio\-\_\-fen}!GPIO register access@{G\-P\-I\-O register access}}
\paragraph[{bcm2835\-\_\-gpio\-\_\-fen}]{\setlength{\rightskip}{0pt plus 5cm}void bcm2835\-\_\-gpio\-\_\-fen (
\begin{DoxyParamCaption}
\item[{uint8\-\_\-t}]{pin}
\end{DoxyParamCaption}
)}}\label{group__gpio_gac9ea2f8c63f0330f12e1b24444d92e50}
Enable Falling Edge Detect Enable for the specified pin. When a falling edge is detected, sets the appropriate pin in Event Detect Status. The G\-P\-R\-E\-Nn registers use synchronous edge detection. This means the input signal is sampled using the system clock and then it is looking for a ?100? pattern on the sampled signal. This has the effect of suppressing glitches. 
\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em pin} & G\-P\-I\-O number, or one of R\-P\-I\-\_\-\-G\-P\-I\-O\-\_\-\-P1\-\_\-$\ast$ from \hyperlink{group__constants_ga63c029bd6500167152db4e57736d0939}{R\-Pi\-G\-P\-I\-O\-Pin}. \\
\hline
\end{DoxyParams}


Here is the call graph for this function\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{group__gpio_gac9ea2f8c63f0330f12e1b24444d92e50_cgraph}
\end{center}
\end{figure}


\hypertarget{group__gpio_gaf866b136c0a9fd4cca4065ce51eb4495}{\index{G\-P\-I\-O register access@{G\-P\-I\-O register access}!bcm2835\-\_\-gpio\-\_\-fsel@{bcm2835\-\_\-gpio\-\_\-fsel}}
\index{bcm2835\-\_\-gpio\-\_\-fsel@{bcm2835\-\_\-gpio\-\_\-fsel}!GPIO register access@{G\-P\-I\-O register access}}
\paragraph[{bcm2835\-\_\-gpio\-\_\-fsel}]{\setlength{\rightskip}{0pt plus 5cm}void bcm2835\-\_\-gpio\-\_\-fsel (
\begin{DoxyParamCaption}
\item[{uint8\-\_\-t}]{pin, }
\item[{uint8\-\_\-t}]{mode}
\end{DoxyParamCaption}
)}}\label{group__gpio_gaf866b136c0a9fd4cca4065ce51eb4495}
Sets the Function Select register for the given pin, which configures the pin as Input, Output or one of the 6 alternate functions. 
\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em pin} & G\-P\-I\-O number, or one of R\-P\-I\-\_\-\-G\-P\-I\-O\-\_\-\-P1\-\_\-$\ast$ from R\-Pi\-G\-P\-I\-O\-Pin. \\
\hline
\mbox{\tt in}  & {\em mode} & Mode to set the pin to, one of B\-C\-M2835\-\_\-\-G\-P\-I\-O\-\_\-\-F\-S\-E\-L\-\_\-$\ast$ from \hyperlink{group__constants_ga485a5a69e864565b0cd18b33ae1f59f2}{bcm2835\-Function\-Select} \\
\hline
\end{DoxyParams}


Here is the call graph for this function\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{group__gpio_gaf866b136c0a9fd4cca4065ce51eb4495_cgraph}
\end{center}
\end{figure}


\hypertarget{group__gpio_ga2cb94aef80b49335057e338d71e46608}{\index{G\-P\-I\-O register access@{G\-P\-I\-O register access}!bcm2835\-\_\-gpio\-\_\-hen@{bcm2835\-\_\-gpio\-\_\-hen}}
\index{bcm2835\-\_\-gpio\-\_\-hen@{bcm2835\-\_\-gpio\-\_\-hen}!GPIO register access@{G\-P\-I\-O register access}}
\paragraph[{bcm2835\-\_\-gpio\-\_\-hen}]{\setlength{\rightskip}{0pt plus 5cm}void bcm2835\-\_\-gpio\-\_\-hen (
\begin{DoxyParamCaption}
\item[{uint8\-\_\-t}]{pin}
\end{DoxyParamCaption}
)}}\label{group__gpio_ga2cb94aef80b49335057e338d71e46608}
Enable High Detect Enable for the specified pin. When a H\-I\-G\-H level is detected on the pin, sets the appropriate pin in Event Detect Status. 
\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em pin} & G\-P\-I\-O number, or one of R\-P\-I\-\_\-\-G\-P\-I\-O\-\_\-\-P1\-\_\-$\ast$ from \hyperlink{group__constants_ga63c029bd6500167152db4e57736d0939}{R\-Pi\-G\-P\-I\-O\-Pin}. \\
\hline
\end{DoxyParams}


Here is the call graph for this function\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{group__gpio_ga2cb94aef80b49335057e338d71e46608_cgraph}
\end{center}
\end{figure}


\hypertarget{group__gpio_ga8e990d48db929445ac3e899ca0f5ed07}{\index{G\-P\-I\-O register access@{G\-P\-I\-O register access}!bcm2835\-\_\-gpio\-\_\-len@{bcm2835\-\_\-gpio\-\_\-len}}
\index{bcm2835\-\_\-gpio\-\_\-len@{bcm2835\-\_\-gpio\-\_\-len}!GPIO register access@{G\-P\-I\-O register access}}
\paragraph[{bcm2835\-\_\-gpio\-\_\-len}]{\setlength{\rightskip}{0pt plus 5cm}void bcm2835\-\_\-gpio\-\_\-len (
\begin{DoxyParamCaption}
\item[{uint8\-\_\-t}]{pin}
\end{DoxyParamCaption}
)}}\label{group__gpio_ga8e990d48db929445ac3e899ca0f5ed07}
Enable Low Detect Enable for the specified pin. When a L\-O\-W level is detected on the pin, sets the appropriate pin in Event Detect Status. 
\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em pin} & G\-P\-I\-O number, or one of R\-P\-I\-\_\-\-G\-P\-I\-O\-\_\-\-P1\-\_\-$\ast$ from \hyperlink{group__constants_ga63c029bd6500167152db4e57736d0939}{R\-Pi\-G\-P\-I\-O\-Pin}. \\
\hline
\end{DoxyParams}


Here is the call graph for this function\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{group__gpio_ga8e990d48db929445ac3e899ca0f5ed07_cgraph}
\end{center}
\end{figure}


\hypertarget{group__gpio_ga693becf47034d3b2d8ed0ac4e74de173}{\index{G\-P\-I\-O register access@{G\-P\-I\-O register access}!bcm2835\-\_\-gpio\-\_\-lev@{bcm2835\-\_\-gpio\-\_\-lev}}
\index{bcm2835\-\_\-gpio\-\_\-lev@{bcm2835\-\_\-gpio\-\_\-lev}!GPIO register access@{G\-P\-I\-O register access}}
\paragraph[{bcm2835\-\_\-gpio\-\_\-lev}]{\setlength{\rightskip}{0pt plus 5cm}uint8\-\_\-t bcm2835\-\_\-gpio\-\_\-lev (
\begin{DoxyParamCaption}
\item[{uint8\-\_\-t}]{pin}
\end{DoxyParamCaption}
)}}\label{group__gpio_ga693becf47034d3b2d8ed0ac4e74de173}
Reads the current level on the specified pin and returns either H\-I\-G\-H or L\-O\-W. Works whether or not the pin is an input or an output. 
\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em pin} & G\-P\-I\-O number, or one of R\-P\-I\-\_\-\-G\-P\-I\-O\-\_\-\-P1\-\_\-$\ast$ from \hyperlink{group__constants_ga63c029bd6500167152db4e57736d0939}{R\-Pi\-G\-P\-I\-O\-Pin}. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the current level either H\-I\-G\-H or L\-O\-W 
\end{DoxyReturn}


Here is the call graph for this function\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=334pt]{group__gpio_ga693becf47034d3b2d8ed0ac4e74de173_cgraph}
\end{center}
\end{figure}


\hypertarget{group__gpio_gaba51cd52ba75cbc9b03f3d629ad931a1}{\index{G\-P\-I\-O register access@{G\-P\-I\-O register access}!bcm2835\-\_\-gpio\-\_\-pad@{bcm2835\-\_\-gpio\-\_\-pad}}
\index{bcm2835\-\_\-gpio\-\_\-pad@{bcm2835\-\_\-gpio\-\_\-pad}!GPIO register access@{G\-P\-I\-O register access}}
\paragraph[{bcm2835\-\_\-gpio\-\_\-pad}]{\setlength{\rightskip}{0pt plus 5cm}uint32\-\_\-t bcm2835\-\_\-gpio\-\_\-pad (
\begin{DoxyParamCaption}
\item[{uint8\-\_\-t}]{group}
\end{DoxyParamCaption}
)}}\label{group__gpio_gaba51cd52ba75cbc9b03f3d629ad931a1}
Reads and returns the Pad Control for the given G\-P\-I\-O group. 
\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em group} & The G\-P\-I\-O pad group number, one of B\-C\-M2835\-\_\-\-P\-A\-D\-\_\-\-G\-R\-O\-U\-P\-\_\-\-G\-P\-I\-O\-\_\-$\ast$ \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Mask of bits from B\-C\-M2835\-\_\-\-P\-A\-D\-\_\-$\ast$ from \hyperlink{group__constants_gaad545896af4bfd6aa8fe3c252cccb60f}{bcm2835\-Pad\-Group} 
\end{DoxyReturn}


Here is the call graph for this function\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=338pt]{group__gpio_gaba51cd52ba75cbc9b03f3d629ad931a1_cgraph}
\end{center}
\end{figure}


\hypertarget{group__gpio_ga03b93e27d85686cc295f46d34776c57f}{\index{G\-P\-I\-O register access@{G\-P\-I\-O register access}!bcm2835\-\_\-gpio\-\_\-pud@{bcm2835\-\_\-gpio\-\_\-pud}}
\index{bcm2835\-\_\-gpio\-\_\-pud@{bcm2835\-\_\-gpio\-\_\-pud}!GPIO register access@{G\-P\-I\-O register access}}
\paragraph[{bcm2835\-\_\-gpio\-\_\-pud}]{\setlength{\rightskip}{0pt plus 5cm}void bcm2835\-\_\-gpio\-\_\-pud (
\begin{DoxyParamCaption}
\item[{uint8\-\_\-t}]{pud}
\end{DoxyParamCaption}
)}}\label{group__gpio_ga03b93e27d85686cc295f46d34776c57f}
Sets the Pull-\/up/down register for the given pin. This is used with \hyperlink{group__gpio_ga260327891497441ac1498f3280c055ed}{bcm2835\-\_\-gpio\-\_\-pudclk()} to set the Pull-\/up/down resistor for the given pin. However, it is usually more convenient to use \hyperlink{group__gpio_gaa69ba311c1cde834d8a2beb8ab5f745a}{bcm2835\-\_\-gpio\-\_\-set\-\_\-pud()}. 
\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em pud} & The desired Pull-\/up/down mode. One of B\-C\-M2835\-\_\-\-G\-P\-I\-O\-\_\-\-P\-U\-D\-\_\-$\ast$ from bcm2835\-P\-U\-D\-Control \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__gpio_gaa69ba311c1cde834d8a2beb8ab5f745a}{bcm2835\-\_\-gpio\-\_\-set\-\_\-pud()} 
\end{DoxySeeAlso}


Here is the call graph for this function\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=340pt]{group__gpio_ga03b93e27d85686cc295f46d34776c57f_cgraph}
\end{center}
\end{figure}


\hypertarget{group__gpio_ga260327891497441ac1498f3280c055ed}{\index{G\-P\-I\-O register access@{G\-P\-I\-O register access}!bcm2835\-\_\-gpio\-\_\-pudclk@{bcm2835\-\_\-gpio\-\_\-pudclk}}
\index{bcm2835\-\_\-gpio\-\_\-pudclk@{bcm2835\-\_\-gpio\-\_\-pudclk}!GPIO register access@{G\-P\-I\-O register access}}
\paragraph[{bcm2835\-\_\-gpio\-\_\-pudclk}]{\setlength{\rightskip}{0pt plus 5cm}void bcm2835\-\_\-gpio\-\_\-pudclk (
\begin{DoxyParamCaption}
\item[{uint8\-\_\-t}]{pin, }
\item[{uint8\-\_\-t}]{on}
\end{DoxyParamCaption}
)}}\label{group__gpio_ga260327891497441ac1498f3280c055ed}
Clocks the Pull-\/up/down value set earlier by \hyperlink{group__gpio_ga03b93e27d85686cc295f46d34776c57f}{bcm2835\-\_\-gpio\-\_\-pud()} into the pin. 
\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em pin} & G\-P\-I\-O number, or one of R\-P\-I\-\_\-\-G\-P\-I\-O\-\_\-\-P1\-\_\-$\ast$ from \hyperlink{group__constants_ga63c029bd6500167152db4e57736d0939}{R\-Pi\-G\-P\-I\-O\-Pin}. \\
\hline
\mbox{\tt in}  & {\em on} & H\-I\-G\-H to clock the value from \hyperlink{group__gpio_ga03b93e27d85686cc295f46d34776c57f}{bcm2835\-\_\-gpio\-\_\-pud()} into the pin. L\-O\-W to remove the clock. \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__gpio_gaa69ba311c1cde834d8a2beb8ab5f745a}{bcm2835\-\_\-gpio\-\_\-set\-\_\-pud()} 
\end{DoxySeeAlso}


Here is the call graph for this function\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{group__gpio_ga260327891497441ac1498f3280c055ed_cgraph}
\end{center}
\end{figure}


\hypertarget{group__gpio_ga5b70fa96491b9b1d9b3fb21bfefe2fd7}{\index{G\-P\-I\-O register access@{G\-P\-I\-O register access}!bcm2835\-\_\-gpio\-\_\-ren@{bcm2835\-\_\-gpio\-\_\-ren}}
\index{bcm2835\-\_\-gpio\-\_\-ren@{bcm2835\-\_\-gpio\-\_\-ren}!GPIO register access@{G\-P\-I\-O register access}}
\paragraph[{bcm2835\-\_\-gpio\-\_\-ren}]{\setlength{\rightskip}{0pt plus 5cm}void bcm2835\-\_\-gpio\-\_\-ren (
\begin{DoxyParamCaption}
\item[{uint8\-\_\-t}]{pin}
\end{DoxyParamCaption}
)}}\label{group__gpio_ga5b70fa96491b9b1d9b3fb21bfefe2fd7}
Enable Rising Edge Detect Enable for the specified pin. When a rising edge is detected, sets the appropriate pin in Event Detect Status. The G\-P\-R\-E\-Nn registers use synchronous edge detection. This means the input signal is sampled using the system clock and then it is looking for a ?011? pattern on the sampled signal. This has the effect of suppressing glitches. 
\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em pin} & G\-P\-I\-O number, or one of R\-P\-I\-\_\-\-G\-P\-I\-O\-\_\-\-P1\-\_\-$\ast$ from \hyperlink{group__constants_ga63c029bd6500167152db4e57736d0939}{R\-Pi\-G\-P\-I\-O\-Pin}. \\
\hline
\end{DoxyParams}


Here is the call graph for this function\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{group__gpio_ga5b70fa96491b9b1d9b3fb21bfefe2fd7_cgraph}
\end{center}
\end{figure}


\hypertarget{group__gpio_ga2edcdd8eecf3a004ea771669c4e66959}{\index{G\-P\-I\-O register access@{G\-P\-I\-O register access}!bcm2835\-\_\-gpio\-\_\-set@{bcm2835\-\_\-gpio\-\_\-set}}
\index{bcm2835\-\_\-gpio\-\_\-set@{bcm2835\-\_\-gpio\-\_\-set}!GPIO register access@{G\-P\-I\-O register access}}
\paragraph[{bcm2835\-\_\-gpio\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}void bcm2835\-\_\-gpio\-\_\-set (
\begin{DoxyParamCaption}
\item[{uint8\-\_\-t}]{pin}
\end{DoxyParamCaption}
)}}\label{group__gpio_ga2edcdd8eecf3a004ea771669c4e66959}
Sets the specified pin output to H\-I\-G\-H. 
\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em pin} & G\-P\-I\-O number, or one of R\-P\-I\-\_\-\-G\-P\-I\-O\-\_\-\-P1\-\_\-$\ast$ from \hyperlink{group__constants_ga63c029bd6500167152db4e57736d0939}{R\-Pi\-G\-P\-I\-O\-Pin}. \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__gpio_ga22f9b05d8edda3ef57cd58728e9c3baa}{bcm2835\-\_\-gpio\-\_\-write()} 
\end{DoxySeeAlso}


Here is the call graph for this function\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=338pt]{group__gpio_ga2edcdd8eecf3a004ea771669c4e66959_cgraph}
\end{center}
\end{figure}


\hypertarget{group__gpio_gabc7458bd0de6fb2de781c8337c1cffb1}{\index{G\-P\-I\-O register access@{G\-P\-I\-O register access}!bcm2835\-\_\-gpio\-\_\-set\-\_\-eds@{bcm2835\-\_\-gpio\-\_\-set\-\_\-eds}}
\index{bcm2835\-\_\-gpio\-\_\-set\-\_\-eds@{bcm2835\-\_\-gpio\-\_\-set\-\_\-eds}!GPIO register access@{G\-P\-I\-O register access}}
\paragraph[{bcm2835\-\_\-gpio\-\_\-set\-\_\-eds}]{\setlength{\rightskip}{0pt plus 5cm}void bcm2835\-\_\-gpio\-\_\-set\-\_\-eds (
\begin{DoxyParamCaption}
\item[{uint8\-\_\-t}]{pin}
\end{DoxyParamCaption}
)}}\label{group__gpio_gabc7458bd0de6fb2de781c8337c1cffb1}
Sets the Event Detect Status register for a given pin to 1, which has the effect of clearing the flag. Use this afer seeing an Event Detect Status on the pin. 
\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em pin} & G\-P\-I\-O number, or one of R\-P\-I\-\_\-\-G\-P\-I\-O\-\_\-\-P1\-\_\-$\ast$ from \hyperlink{group__constants_ga63c029bd6500167152db4e57736d0939}{R\-Pi\-G\-P\-I\-O\-Pin}. \\
\hline
\end{DoxyParams}


Here is the call graph for this function\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{group__gpio_gabc7458bd0de6fb2de781c8337c1cffb1_cgraph}
\end{center}
\end{figure}


\hypertarget{group__gpio_gac69a029acceb17691826650d8f188cd8}{\index{G\-P\-I\-O register access@{G\-P\-I\-O register access}!bcm2835\-\_\-gpio\-\_\-set\-\_\-pad@{bcm2835\-\_\-gpio\-\_\-set\-\_\-pad}}
\index{bcm2835\-\_\-gpio\-\_\-set\-\_\-pad@{bcm2835\-\_\-gpio\-\_\-set\-\_\-pad}!GPIO register access@{G\-P\-I\-O register access}}
\paragraph[{bcm2835\-\_\-gpio\-\_\-set\-\_\-pad}]{\setlength{\rightskip}{0pt plus 5cm}void bcm2835\-\_\-gpio\-\_\-set\-\_\-pad (
\begin{DoxyParamCaption}
\item[{uint8\-\_\-t}]{group, }
\item[{uint32\-\_\-t}]{control}
\end{DoxyParamCaption}
)}}\label{group__gpio_gac69a029acceb17691826650d8f188cd8}
Sets the Pad Control for the given G\-P\-I\-O group. 
\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em group} & The G\-P\-I\-O pad group number, one of B\-C\-M2835\-\_\-\-P\-A\-D\-\_\-\-G\-R\-O\-U\-P\-\_\-\-G\-P\-I\-O\-\_\-$\ast$ \\
\hline
\mbox{\tt in}  & {\em control} & Mask of bits from B\-C\-M2835\-\_\-\-P\-A\-D\-\_\-$\ast$ from \hyperlink{group__constants_gaad545896af4bfd6aa8fe3c252cccb60f}{bcm2835\-Pad\-Group} \\
\hline
\end{DoxyParams}


Here is the call graph for this function\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{group__gpio_gac69a029acceb17691826650d8f188cd8_cgraph}
\end{center}
\end{figure}


\hypertarget{group__gpio_gaa69ba311c1cde834d8a2beb8ab5f745a}{\index{G\-P\-I\-O register access@{G\-P\-I\-O register access}!bcm2835\-\_\-gpio\-\_\-set\-\_\-pud@{bcm2835\-\_\-gpio\-\_\-set\-\_\-pud}}
\index{bcm2835\-\_\-gpio\-\_\-set\-\_\-pud@{bcm2835\-\_\-gpio\-\_\-set\-\_\-pud}!GPIO register access@{G\-P\-I\-O register access}}
\paragraph[{bcm2835\-\_\-gpio\-\_\-set\-\_\-pud}]{\setlength{\rightskip}{0pt plus 5cm}void bcm2835\-\_\-gpio\-\_\-set\-\_\-pud (
\begin{DoxyParamCaption}
\item[{uint8\-\_\-t}]{pin, }
\item[{uint8\-\_\-t}]{pud}
\end{DoxyParamCaption}
)}}\label{group__gpio_gaa69ba311c1cde834d8a2beb8ab5f745a}
Sets the Pull-\/up/down mode for the specified pin. This is more convenient than clocking the mode in with \hyperlink{group__gpio_ga03b93e27d85686cc295f46d34776c57f}{bcm2835\-\_\-gpio\-\_\-pud()} and \hyperlink{group__gpio_ga260327891497441ac1498f3280c055ed}{bcm2835\-\_\-gpio\-\_\-pudclk()}. 
\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em pin} & G\-P\-I\-O number, or one of R\-P\-I\-\_\-\-G\-P\-I\-O\-\_\-\-P1\-\_\-$\ast$ from \hyperlink{group__constants_ga63c029bd6500167152db4e57736d0939}{R\-Pi\-G\-P\-I\-O\-Pin}. \\
\hline
\mbox{\tt in}  & {\em pud} & The desired Pull-\/up/down mode. One of B\-C\-M2835\-\_\-\-G\-P\-I\-O\-\_\-\-P\-U\-D\-\_\-$\ast$ from bcm2835\-P\-U\-D\-Control \\
\hline
\end{DoxyParams}


Here is the call graph for this function\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{group__gpio_gaa69ba311c1cde834d8a2beb8ab5f745a_cgraph}
\end{center}
\end{figure}


\hypertarget{group__gpio_ga22f9b05d8edda3ef57cd58728e9c3baa}{\index{G\-P\-I\-O register access@{G\-P\-I\-O register access}!bcm2835\-\_\-gpio\-\_\-write@{bcm2835\-\_\-gpio\-\_\-write}}
\index{bcm2835\-\_\-gpio\-\_\-write@{bcm2835\-\_\-gpio\-\_\-write}!GPIO register access@{G\-P\-I\-O register access}}
\paragraph[{bcm2835\-\_\-gpio\-\_\-write}]{\setlength{\rightskip}{0pt plus 5cm}void bcm2835\-\_\-gpio\-\_\-write (
\begin{DoxyParamCaption}
\item[{uint8\-\_\-t}]{pin, }
\item[{uint8\-\_\-t}]{on}
\end{DoxyParamCaption}
)}}\label{group__gpio_ga22f9b05d8edda3ef57cd58728e9c3baa}
Sets the output state of the specified pin 
\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em pin} & G\-P\-I\-O number, or one of R\-P\-I\-\_\-\-G\-P\-I\-O\-\_\-\-P1\-\_\-$\ast$ from \hyperlink{group__constants_ga63c029bd6500167152db4e57736d0939}{R\-Pi\-G\-P\-I\-O\-Pin}. \\
\hline
\mbox{\tt in}  & {\em on} & H\-I\-G\-H sets the output to H\-I\-G\-H and L\-O\-W to L\-O\-W. \\
\hline
\end{DoxyParams}


Here is the call graph for this function\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{group__gpio_ga22f9b05d8edda3ef57cd58728e9c3baa_cgraph}
\end{center}
\end{figure}


